package com.example.quartztest.controller;

import com.example.quartztest.service.quazrtDemo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhaojie
 * @Date: Created in 13:20 2018/5/8
 * @Description:
 * @Modified By:
 */
@RestController
@RequestMapping("/test")
public class MsgController {

    @RequestMapping("/msg")
    public String sendMsg(){
        quazrtDemo demo=new quazrtDemo();
        demo.sendMgs();
        return  "hello";
    }

}
